

package com.example.myproject;

import com.google.common.primitives.Ints;

/**
 * This application compares two numbers, using the Ints.compare
 * method from Guava.
 */
public class App {

    public static int compare(int a, int b) {
        return Ints.compare(a, b);
    }

    public static void main(String... args) throws Exception {
        App app = new App();
        System.out.println("Success: " + app.compare(2, 1));
    }

}